package com.bosssoft.user.permission.center.serve.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RoleCompanyVO {

    @ApiModelProperty("公司id")
    @JsonSerialize(using= ToStringSerializer.class)
    @NotNull
    private  Long id;

    @ApiModelProperty("公司编号")
    @JsonSerialize(using= ToStringSerializer.class)
    @NotNull
    private  String code;

    @ApiModelProperty("公司名称")
    @JsonSerialize(using= ToStringSerializer.class)
    @NotNull
    private String name;


    @ApiModelProperty("与当前角色绑定状态")
    @JsonSerialize(using= ToStringSerializer.class)
    @NotNull
    private Long  bindStatus;
}
